package com.xyz.mockapi.common.exception;

import lombok.Getter;

// 自定义异常，用于传递详细的导入错误信息
@Getter
public class ExcelImportException extends RuntimeException {
    private final String detailMessage; // 详细错误信息（包含行号、字段、错误值）

    public ExcelImportException(String message, String detailMessage) {
        super(message);
        this.detailMessage = detailMessage;
    }
}